<?php
/**
 * Created by PhpStorm.
 * User: 12133
 * Date: 2024/1/22
 * Time: 10:47
 */

namespace app\model;


use think\Model;

class Config extends Model
{
    protected $table = 'system';
    protected $autoWriteTimestamp = false;

    public static function get_value(string $key){
        return self::where('key',$key)->value('value');
    }
}